export default {
  methods: {
    // 检查用户权限,根据权限显示按钮
    checkPermission(btnName) {
      const pionts = this.$store.state.user.userInfo.roles.points
      return pionts && pionts.includes(btnName)
    }
  }
}
